class CreateServiceLinks < ActiveRecord::Migration
  def self.up
    create_table :service_links do |t|
      t.integer :port_id    #ShimInput/ShimOutput ID
      t.string :port_type   #ShimInput/ShimOutput
      t.integer :service_id #Linked service
      t.string :operation_link #BioCat operation link
      t.integer :source_id  #User ID

      t.timestamps
    end
  end

  def self.down
    drop_table :service_links
  end
end
